# helm install keda kedacore/keda --namespace keda --create-namespace

export namespace="keda-system"
export app_name="keda"
export repo="kedacore"
export helm="$repo/keda"
export url="https://kedacore.github.io/charts"
export registry="ghcr.io"
export HELM_TLS_VERIFY=false

helm repo remove $repo
helm repo add $repo $url
helm repo update $repo

helm upgrade --create-namespace --install \
	-n $namespace $app_name $helm \
	--set global.image.registry=$registry \
	--set crds.install=true \
	--devel
# -f values.yaml

# export namespace="keda-system"
# keda-add-ons-http 组件
helm upgrade --create-namespace --install \
	-n $namespace kedahttp kedacore/keda-add-ons-http \
	-f http.yaml \
	--devel
